import App from './App'

// #ifndef VUE3
import Vue from 'vue'
import './uni.promisify.adaptor'
Vue.config.productionTip = false
App.mpType = 'app'

// 基地址
//uni.$baseUrl = 'http://localhost:8080/jeecgboot/api/colorpath'
uni.$baseUrl = 'https://api.color-path.com/jeecgboot/api/colorpath'
uni.$baseAiUrl = 'https://docs.imagineapi.dev'
// if (uni.getSystemInfoSync().platform !== "devtools") {
// 	console.log = () => {};
// 	console.info= () => {};
// }

const app = new Vue({
  ...App
})
app.$mount()
// #endif

// #ifdef VUE3
import { createSSRApp } from 'vue'
export function createApp() {
  const app = createSSRApp(App)
  return {
    app
  }
}
// #endif